import App from './App'

// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
App.mpType = 'app'
/* uview */
import uView from '@/uni_modules/uview-ui'
Vue.use(uView)
/* 移动端显示控制台 */
// import Vconsole from 'vconsole'
// const vConsole=new Vconsole()
/* login */
import login from '@/common/login.js'
Vue.prototype.$login= {login}
//配置公共方法
import common from './common/common.js'
Vue.prototype.$noMultipleClicks = common.noMultipleClicks;
// 如此配置即可
uni.$u.config.unit = 'rpx'
const app = new Vue({
    ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif